package Interface.Interface4;

public interface Interface_private {
    private void methodcommon()
    {
        System.out.println("这是方法的共用部分");
    }
    public default void method1()
    {
        System.out.println("方法1开始运行");
        methodcommon();
    }
    public default void method2()
    {
        System.out.println("方法2开始运行");
        methodcommon();
    }
}
